#include <STC15F2K60S2.H>
#include "smg.h"
#include "I2C.h"
#include "AT24C02.h"

unsigned char Data;

void main()
{
	All_Init();

	AT24C02_WriteByte(0,88);
	Delay_ms(5);		//写数据的周期 5ms
	Data = AT24C02_ReadByte(0);	
	
	while(1)
	{
		Nixie(1,Data/10);
		Nixie(2,Data%10);
	}
}
